/* =====================
   ROOT + RESET
===================== */
:root {
  --primary: #2a9d8f;
  --secondary: #e9c46a;
  --dark: #264653;
  --light: #f4f1de;
  --accent: #e76f51;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--dark);
}

/* =====================
   NAVBAR (STICKY)
===================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: relative;
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

.logo span {
  color: var(--primary);
}

/* ===== HAMBURGER BUTTON ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #264653;
  border-radius: 2px;
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =====================
   CART COUNT BADGE
===================== */
.nav-cart {
  position: relative;
  font-size: 22px;
  text-decoration: none;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e76f51;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none;
}

/* =====================
   SALE STRIP
===================== */
.sale-strip {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #e76f51, #e9c46a, #2a9d8f);
  color: #ffffff;
  padding: 10px 0;
}

.sale-track {
  display: flex;
  width: max-content;
  animation: saleScroll 18s linear infinite;
}

.sale-track span {
  white-space: nowrap;
  padding: 0 40px;
  font-size: 14px;
  font-weight: 500;
}

@keyframes saleScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================
   HERO SLIDER (FIXED)
===================== */
.banner-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   COMMON SECTIONS
===================== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

/* =====================
   GALLERY GRID
===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-item {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 6px;
  text-align: center;
}

/* =====================
   ABOUT SECTION
===================== */
.about {
  background: linear-gradient(135deg, #f4f9f8, #eef7f5);
  padding: 40px 0;
}

.about-content {
  display: flex;
  gap: 24px;
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.about-text { flex: 1.4; }

.about-img img {
  max-width: 220px;
  border-radius: 14px;
}

/* =====================
   WHY US
===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

/* =====================
   CONTACT
===================== */
.contact {
  text-align: center;
}

.social-links a {
  font-size: 22px;
  margin: 0 10px;
  color: var(--dark);
}

/* =====================
   FOOTER
===================== */
footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 22px;
  font-size: 14px;
}

/* =====================
   MOBILE (RESPONSIVE)
===================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    width: 180px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    padding: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-item img {
    height: 140px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    max-width: 140px;
    margin: auto;
  }
}
/* ================================ GALLERY SEARCH BAR ================================ */
.gallery-search { width: 70%; 
                 max-width: 700px; 
                 margin: 0 auto 40px; 
                 padding: 14px 22px; 
                 border-radius: 50px; 
                 display: flex; 
                 align-items: center; 
                 background: #ffffff; 
                 border: 2px solid #2f9e8f; 
                 box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
                } 
.gallery-search input { width: 100%; 
                       border: none; 
                       outline: none; 
                       font-size: 18px; 
                       background: transparent; 
                       color: #333; 
                      } 
.gallery-search input:placeholder { color: #999; }
.gallery-search span { font-size: 22px; 
                      margin-left: 15px; 
                      color: #2f9e8f; 
                     } 
/* Mobile */ @media (max-width: 600px) { 
.gallery-search { 
   width: 90%;
} }
